package org.example.model;

import javafx.beans.property.StringProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author: wwy
 * @Date: 2020/12/3 15:19
 */
@Entity
@Table(name = "settings")
public class SettingsEntity {
    @Id
    private long id;
    @Column(name = "start_interval")
    private String startInterval;
    @Column(name = "plan_interval")
    private String planInterval ;
    @Column(name = "time_out")
    private String timeOut;
    @Column(name = "is_auto_load")
    private int isAutoLoad;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getStartInterval() {
        return startInterval;
    }

    public void setStartInterval(String startInterval) {
        this.startInterval = startInterval;
    }

    public String getPlanInterval() {
        return planInterval;
    }

    public void setPlanInterval(String planInterval) {
        this.planInterval = planInterval;
    }

    public String getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(String timeOut) {
        this.timeOut = timeOut;
    }

    public int getIsAutoLoad() {
        return isAutoLoad;
    }

    public void setIsAutoLoad(int isAutoLoad) {
        this.isAutoLoad = isAutoLoad;
    }
}
